<?php
namespace haibao\cms\model\data;

class FeatureSerial extends Base{
	const STATUS_DISABLE = 0;
	const STATUS_ENABLE = 1;
	
	public static $serialParent = array(
			1 => '明星|风潮',
			2 => '时装|品牌',
			3 => '美容|彩妆',
			4 => '直播|策划',
	);
	
	/**
	 * 系列名称
	 */
	public $SerialName;
	/**
	 * 系列父级
	 */
	public $SerialParent;
	/**
	 * 专题系列描述
	 */
	public $SerialDesc;
	/**
	 * 专题系列logo
	 */
	public $SerialLogoUrl;
	/**
	 * 专题父类排序
	 */
	public $SortInParent;
	/**
	 * 最后一次发布时间
	 */
	public $LastPublishTime = '';
	/**
	 * 当前期号
	 */
	public $CurrentIssue = '';
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 创建人
	 */
	public $CreateBy;
	/**
	 * 状态
	 */
	public $Status;
	
	public $Tags;
	
	public function __construct(){
		parent::__construct();
		$this->stringField('SerialName', 'SerialName',true);
		$this->intField('SerialParent', 'SerialParent');
		$this->stringField('SerialDesc', 'SerialDesc');
		$this->stringField('SerialLogoUrl', 'SerialLogoUrl');
		$this->intField('SortInParent', 'SortInParent');
		$this->datefield('LastPublishTime', 'LastPublishTime',true);
		$this->stringField('CurrentIssue', 'CurrentIssue',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('CreateBy', 'CreateBy',true);
		$this->intField('Status', 'Status',true);
		
		$this->setTableName('FeatureSerial');
	}
	
}